package org.wevil.entity.sys;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Id;
import java.sql.Timestamp;

@EntityListeners(AuditingEntityListener.class)
@Entity
@Getter
@Setter
public class SysAppVersion {
    @Id
    private String name;
    private String version;
    @CreatedDate
    private Timestamp ts;
}
